package com.juvenxu.mvnbook.account.persist;

import javax.security.auth.login.AccountException;

/**
 * @author huyong
 * @version 1.0.0
 * @description
 * @date 2015/4/24 13:40
 */
public interface AccountPersistService {
	Account createAccount(Account account) throws AccountException;

	Account readAccount(String id) throws AccountException;

	Account updateAccount(Account account) throws AccountException;

	void deleteAccount(String id) throws AccountException;
}
